<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>httpServletRequest练习</title>
    </head>
    <body>
    <h1>用户注册信息</h1>
    <form action="http://localhost:8080/servlet/requestExercise" method="post">
        <table>
            <tr>
                <td>用户名称: </td>
                <td><input type="text" name="username"></td>
            </tr>
            <tr>
                <td>用户密码: </td>
                <td><input type="password" name="pwd1"></td>
            </tr>
            <tr>
                <td>确认密码: </td>
                <td><input type="password" name="pwd2"></td>
            </tr>
            <tr>
                <td>选择你喜欢的运动项目:</td>
                <td><input type="checkbox" name="sport" value="lq">篮球 <input type="checkbox" name="sport" value="zq" checked>足球 <input type="checkbox" name="sport" value="sq" checked>手球</td>
            </tr>
            <tr>
                <td>请选择性别 :</td>
                <td><input type="radio" name="gender" value="male">男 <input type="radio" name="gender" value="female">女</td>
            </tr>
            <tr>
                <td>请选择城市:</td>
                <td><select name="city">
                    <option>--选择--</option>
                    <option value="cd">成都</option>
                    <option value="bj">北京</option>
                    <option value="sh">上海</option>
                </select></td>
            </tr>
            <tr>
                <td>自我介绍:</td>
                <td><textarea rows="6" cols="20" name="info"></textarea></td>
            </tr>
            <tr>
                <td>选择你的文件(头像)</td>
                <td><input type="file" name="myfile"></td>
            </tr>
            <tr>
                <td><input type="submit" value="提交"/></td>
                <td><input type="reset" value="重置"/></td>
            </tr>
        </table>
    </form>
    </body>
</html>